package com.fifth.home.service;

import com.fifth.common.pojo.dto.CommonResult;
import com.fifth.common.pojo.entity.Link;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 第五组
 * @since 2022-09-01
 */
public interface ILinkService extends IService<Link> {

    CommonResult selectAllLink(Integer currentPage, Integer pageSize, Link link);

    CommonResult insertLink(Link link);

    CommonResult updateStatus(String linkId, String isDisable);

    CommonResult removeLink(String linkId);

    CommonResult updateLink(Link link);

    CommonResult selectQianAllLink();
}
